<template>
  <div>
    <Header></Header>
    <div class="home">
      <div class="banner">
        <div class="banner_content">
          <div class="banner_left">
            <img src="../../assets/img/container-title-2.png" alt />
            <div>
              <a href="#" class="intoBtn">进入课程</a>
            </div>
          </div>
          <div class="banner_right">
            <el-form ref="form" :model="form" label-width="80px">
              <el-form-item label="活动名称">
                <el-input v-model="form.name"></el-input>
              </el-form-item>
            </el-form>
          </div>
        </div>
      </div>
    </div>
    <Footer></Footer>
  </div>
</template>

<script>
import homeData from "../../store/list.json";
import Header from "../../components/header/header";
import Footer from "../../components/footer/footer";

export default {
  props: {},
  data() {
    return {
       form: {
          name: '',
       }
    };
  },
  computed: {},
  created() {},
  mounted() {
    console.log(homeData);
  },
  watch: {},
  methods: {},
  components: {
    Header,
    Footer
  }
};
</script >

<style scoped >
.banner {
  background-image: url("../../assets/img/homepage-bg.png");
  background-size: 100% 100%;
  height: 612px;
}
.banner_content {
  width: 1200px;
  margin: 0 auto;
  padding-top: 147px;
  display: flex;
}
.banner_left img {
  margin-bottom: 30px;
}
.banner_left .intoBtn {
  color: #fff;
  background-color: #11aa8c;
  border-color: #11aa8c;
  margin-bottom: 30px;
  font-size: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.43);
  padding: 12px 36px;
}
</style>
